import setting from '@/settings/projectSetting';
import { useRouterHelper } from 'vc/src/router';

/** 自定义网页标题 */
export function usePageTitle (title?) {
  const { getTitle } = useRouterHelper();
  
  useTitle(title ? title : setting.name + '-' + getTitle());
}
